-
Home
-
ShopApper: Mobile App for WooCommerce
-
0.4.59 (latest)
-
Code
-
Classes
- CartController
| Total Complexity |
58 |
| Dependencies |
9 |
| Dependents |
0 |
| Total lines |
388 |
| Lines of code |
228 |
| Logical lines of code |
139 |
| Comment lines |
40 |
| Methods |
16 |
| Properties |
0 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_item() |
A |
43 |
12 |
43 |
| woocommerce_add_to_cart() |
S |
53 |
7 |
21 |
| update_cart() |
S |
57 |
6 |
15 |
| update_item() |
S |
57 |
4 |
16 |
| get_pre_order_info() |
S |
60 |
4 |
12 |
| validate_session_token() |
S |
64 |
4 |
9 |
| clear_cart() |
S |
62 |
3 |
11 |
| init() |
S |
49 |
1 |
39 |
| get_cart_data() |
S |
56 |
2 |
17 |
| get_cart() |
S |
65 |
3 |
8 |
| remove_item() |
S |
62 |
3 |
10 |
| woocommerce_get_cart_page_id() |
S |
71 |
3 |
5 |
| restore_item() |
S |
66 |
2 |
8 |
| woocommerce_rest_is_request_to_rest_api() |
S |
71 |
2 |
5 |
| __construct() |
S |
69 |
1 |
6 |
| get_searched_product() |
S |
78 |
1 |
3 |